package com.fly.studio.home.app.constants;

/**
 * ResponseConstant
 *
 * @author fuliying3
 * @date 2022/08/11 14:32:00
 */
public enum ResponseConstant {

    /**
     * 0-SUCCESS
     */
    SUCCESS(0, "SUCCESS"),
    /**
     * 1-FAIL
     */
    FAIL(1, "FAIL");

    private final Integer code;
    private final String message;

    ResponseConstant(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
